package org.jeecg.modules.scm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 贷后基本信息
 * @Author: jeecg-boot
 * @Date:   2021-12-01
 * @Version: V1.0
 */
@Data
@TableName("scm_after_loan")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="贷后基本信息", description="贷后基本信息")
public class ScmAfterLoan implements Serializable {
    private static final long serialVersionUID = 1L;

	/**贷后基本信息ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "贷后基本信息ID")
    private String id;
    /**申请人*/
    @ApiModelProperty(value = "申请人")
    private String applyBy;
	/**申请大类*/
	@Excel(name = "申请大类", width = 15)
    @ApiModelProperty(value = "申请大类")
    private String mainClassify;
	/**申请小类*/
	@Excel(name = "申请小类", width = 15)
    @ApiModelProperty(value = "申请小类")
    @Dict(dicCode = "after_loan_secondary_classify")
    private String secondaryClassify;
	/**申请日期*/
	@Excel(name = "申请日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "申请日期")
    private Date applyTime;
	/**客户号*/
	@Excel(name = "客户号", width = 15)
    @ApiModelProperty(value = "客户号")
    private Integer cusNo;
	/**客户名称*/
	@Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private String cusName;
	/**客户类型*/
	@Excel(name = "客户类型", width = 15)
    @ApiModelProperty(value = "客户类型")
    @Dict(dicCode = "cus_type")
    private Integer cusType;
	/**客户经理*/
	@Excel(name = "客户经理", width = 15)
    @ApiModelProperty(value = "客户经理")
    private String cusManage;
	/**所属机构*/
	@Excel(name = "所属机构", width = 15)
    @ApiModelProperty(value = "所属机构")
    private String platformAffiliation;
	/**所属行业*/
	@Excel(name = "所属行业", width = 15)
    @ApiModelProperty(value = "所属行业")
    @Dict(dictTable = "scm_industry_type",dicText = "industry_name",dicCode = "id")
    private String industry;
	/**注册地*/
	@Excel(name = "注册地", width = 15)
    @ApiModelProperty(value = "注册地")
    private String location;
	/**贷后人员*/
	@Excel(name = "贷后人员", width = 15)
    @ApiModelProperty(value = "贷后人员")
    private String afterLoanUser;
	/**走访采集分类*/
	@Excel(name = "走访采集分类", width = 15)
    @ApiModelProperty(value = "走访采集分类")
    private Integer collectClassify;
	/**结清退出标志*/
	@Excel(name = "结清退出标志", width = 15)
    @ApiModelProperty(value = "结清退出标志")
    @Dict(dicCode = "basic_mark")
    private Integer settle;
	/**低风险标识*/
	@Excel(name = "低风险标识", width = 15)
    @ApiModelProperty(value = "低风险标识")
    @Dict(dicCode = "basic_mark")
    private Integer lowRisk;
	/**信用标志*/
	@Excel(name = "信用标志", width = 15)
    @ApiModelProperty(value = "信用标志")
    @Dict(dicCode = "basic_mark")
    private Integer credit;
	/**担保具体情况*/
	@Excel(name = "担保具体情况", width = 15)
    @ApiModelProperty(value = "担保具体情况")
    private String guaranteeSituation;
	/**还款计划*/
	@Excel(name = "还款计划", width = 15)
    @ApiModelProperty(value = "还款计划")
    private String repaymentPlan;
	/**重点跟踪客户标志*/
	@Excel(name = "重点跟踪客户标志", width = 15)
    @ApiModelProperty(value = "重点跟踪客户标志")
    @Dict(dicCode = "basic_mark")
    private Integer mainTrackCus;
	/**客户合作类型*/
	@Excel(name = "客户合作类型", width = 15)
    @ApiModelProperty(value = "客户合作类型")
    @Dict(dicCode = "cus_cooperate_type")
    private Integer cusCooperateType;
	/**银团名称*/
	@Excel(name = "银团名称", width = 15)
    @ApiModelProperty(value = "银团名称")
    @Dict(dicCode = "syndicate_name")
    private Integer syndicateName;
	/**保理商*/
	@Excel(name = "保理商", width = 15)
    @ApiModelProperty(value = "保理商")
    @Dict(dicCode = "basic_mark")
    private Integer factor;
	/**银团牵头行*/
	@Excel(name = "银团牵头行", width = 15)
    @ApiModelProperty(value = "银团牵头行")
    private String syndicatedLeadArranger;
	/**异地客户标志*/
	@Excel(name = "异地客户标志", width = 15)
    @ApiModelProperty(value = "异地客户标志")
    @Dict(dicCode = "basic_mark")
    private Integer differentPlacesCus;
	/**五级分类*/
	@Excel(name = "五级分类", width = 15)
    @ApiModelProperty(value = "五级分类")
    @Dict(dicCode = "five_level_classify")
    private Integer fiveLevelClassify;
	/**系统控制标志*/
	@Excel(name = "系统控制标志", width = 15)
    @ApiModelProperty(value = "系统控制标志")
    @Dict(dicCode = "basic_mark")
    private Integer systemControl;
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "after_loan_status")
    private Integer status;
	/**停办业务时间*/
	@Excel(name = "停办业务时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "停办业务时间")
    private Date suspendTime;
	/**恢复业务时间*/
	@Excel(name = "恢复业务时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "恢复业务时间")
    private Date replyTime;
	/**建立信贷关系日*/
	@Excel(name = "建立信贷关系日", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "建立信贷关系日")
    private Date buildTime;
	/**当前处理人*/
	@Excel(name = "当前处理人", width = 15)
    @ApiModelProperty(value = "当前处理人")
    private String handlerId;
	/**最后审核通过人*/
	@Excel(name = "最后审核通过人", width = 15)
    @ApiModelProperty(value = "最后审核通过人")
    private String approveBy;
	/**最后修改人*/
    @ApiModelProperty(value = "最后修改人")
    private String updateBy;
	/**最后修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "最后修改时间")
    private Date updateTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
